package com.hnit.camellia.mapper;


import com.hnit.camellia.entity.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface GoodsMapper {


    @Select("select * from camellia.goods where category_id = #{categoryId}")
    List<Goods> selectGoodsByCategoryId(Integer categoryId);
}
